package org.blog.exceptions;

public class BlogException extends Exception {

	final public static int NAME = 1;
	final public static int DESCRIPTION = 2;
	final public static int TITLE = 3;
	final public static int TEXT = 4;
	final public static int COMMENT = 5;

	
	private int type = 0;
	
	public BlogException(int type) {
		
		this.type = type;
	}
	
	public int getType() {
		return type;
	}
}
